Formbuilder tests

This PR adds some new tests for formbuilder. It also changes the formpage slightly to redirect to a separate "thank you" page rather than sending back the "thank you" page in response to the POST request.
This would all need to be changed after FEP lands.