tests use py.test framework now