converting unittest to nosetests