Fix unit tests

* Mockito cannot verify final methods