Create test mainform and controller