Modified unit test script to display and output (to file) test results.