added test coverage for code climate