Added spy test case with Mockito