Add support for autouse fixtures
Fix tests under Python 3
Minor improvement to test running script