adding test for existing fields and patching url