Jstest coverage issue fixed