Fixing bug #4610

usable forms were not the right ones when creating an application
adding a test case