Server test with mockito