run tests with pytest instead of trial