Recording responses on python3 and passing tests