Fix unit test with @PrepareForTest annotation