fix nosetests on travis