did testcases the Pythonic way, or whatever it is now