Added tests with Mockito
fix typo