Updated test.py unittests to display more useful failure information