Implemented nose tests.