Added test to check that debug console is enabled properly.