add formaction test

fixes #1067