Fixed by changing the test class to extend MockHadoopTestCase.