Misc - mainly fixing unit tests. Fixes #1509

This mainly fixes the unit tests (except one, which should be fixed by another pull request - UTIs), plus adds 'Open' as an alternate to the AS 'Run' action.

I'm contemplating doing the same for the shell 'Run' action, but I can't remember where the action is now :/