Added quote insertion with full relationships and a problematic test case.