Merge pull request #166 from emorency/master

Multiple fixes
Added an extra test for validating that the index is up-to-date
Merge pull request #167 from kazoompa/master

Added an extra test for validating that the index is up-to-date
Changed "Add to view..." to the same label as the menu item: "Add variables to view..."
OPAL-1793: Explicitely copying categories when deriving a variable to add to a view