it 'renames the attribute with the :key option' do
      person = Person.new('Sam', 20, 'M')
      serializer = PersonWithKeySerializer.new(person)
      result = serializer.serializable_hash
      assert_equal([:name, :age, :type], result.keys)