Update for recorded test cases

Previously, these test cases tried to access and assess global variables. As global variables are now not supported, some behavior has also changed.