JsHint fix in test