Follow-on fix: if tests throw an exception, don't throw another by calling an undefined variable.
Merge pull request #199 from shadlaws/unit_test_fix_20130310

Follow-on fix: if tests throw an exception, don't throw another by calling an undefined variable.