Fixing error in nosetests call