Test coverage for new M2MQuotedFields.

Added a test for the new M2MQuotedFields helper function.