correct js_spec test