Fixing ngSwitch tests