add test coverage for codeclimate