Road to pytest PART 4

- all tests have been rewritten to py.test