[oozie] Fix OozieApiMock for testing