Add Codeclimate test coverage