Dynamic form helper test refactor