Add test case for #429 - failed polymorphic relations on parsed models

The PhotoParsed model formats the imageable_id_parsed and imageable_type_parsed keys before saving to the database to remove the '_parsed' and parses the keys to add '_parsed' after fetching. This breaks polymorphic relations.