Adding nosetests for file