add unit tests for FormstackApi::submitForm