Implemented nosetests