switch test framework to use py.test instead of nose