Adding codeclimate test coverage