Moved functions to receive results to NDTPController and modifed TestResults to be a singleton.
Added error and debug messages.
Cleanup of functions to print test results.