Add tests to demonstrate form_for issues with a singular resource. Issue #1769

These failing tests were written in an attempt to demonstrate the issues
discussed in #1789 related to attempting to use form_for with a singular
resource. I am aware from the discussion that the fix will most likely
not be an easy one, but I figured it could be helpful to have tests to
demonstrate the issue, and I hope that these tests serve that purpose.