Fix karma (query-menu-item directive test)