Labeled undefined value used in testing, improved test script to no longer strip out the name of the tests from the reference file, and updated reference file