Add a test case for custom forms

This runs through just the basic functionality (creating a form, filling
out the form, and viewing responses), and it only tests the backend.
However, that is still a lot of code.