[Test] refactor FormExtensionTest