Change tests to use Mockito (instead of EasyMock).