Added tests for console application class.