Adding specs for Mapper#to_hash and renaming @model to @mapper for consistency