Fix nose tests.