Added tests for overriding console