not using global args object
added option to display console messages during unit tests