various changes to the test suite...
made a clean test function
support for comparing log files as a test type
updated reference and test scripts to include redirecting std out to file