using py.test for running tests