Small fix to the way redirects are applied on form frame forms.
Adding simpletest tests for basic module behaviors. [#2380123]