fixed nosetests