Added console testcase