Added toggleSubItem test