add a test for form going back
add tests for form rendering
add more tests for form flow handler and snippet