Bugfix: Only import nose during the running of the unit tests.