Python Unit Testing Threaded Codex