It was missing vars which was causing issues with our test harness since we run all the files in strict mode.