added mockito mock test capability and test class