Ensuring nosetests successful