So I also thought the other rooms were gathering data for Mark. For example you put Gemma in the dentist room then give the data to Mark. Mark then refines the data until Gemma "perfects" the room.
But from what we see if Cold Harbor, Gemma doesn't go in until it's done.
Now it is possible that Cold Harbor is the final test. If Gemma can "solve" Cold Harbor without refinement, she can "solve" anything.
Of course if Mark can disrupt the test and convince Gemma to go with him, perhaps the test or overall process itself is flawed. Gemma as Ms Casey was surely one of the first tests to confirm that Gemma would not be swayed by Mark. Yet here she clearly is.
The "Fuck" from Jame Eagan may not just be the appearance of Mark and his meddling, but the realization that the entire experiment is flawed.
We know Kier/Lumon/Jame stole from Cobel. It's possible they only now realized how unqualified they are.
But of course all this rests on the idea that Cold Harbor only had one solution and one test, which seems odd.