adding console testing in console_test.py