added Mockito framework for tests