Python Unit Testing Threaded Codex Ai