fixed tests to run nose