Tests that command-line API methods behave similarly to native code by returning '[WebInspector console function]' via toString().