Tests added with JUnit and mockito