few refactorings
added a test coverage plugin