unit tests controller with mockito