Added tests and coverage reports