Add nose and mock to requirements.txt.
Use nosetests to run the tests.