fix nosetests were not running correctly