added tests for the process-form flag