Made cukes tests work on item.name not item.label and fixed usage in view.js