[Misc] Conver test to use Mockito
XWIKI-9006: The schema does not seems to be deleted when deleting a wiki using PostgreSQL in schema mode
* Added unit test