Fixed Mockito tests (WordQueriesController)