rm: converted tests to py.tests