use py.test for local testing