fixed tests.pys