Added test for Errors::throw_error_in_js_console