use nosetests instead of pytest