Fix nosetests so coverage works fine