functional test for embedded form