Added tests and maven JMock and Jacoco