add tests for autogenerated serializers

symbolize has_one key for consistancy