Add codeclimate test coverage