Tests that console dumps global object with properties.