Fixes #3473 - setting global parameters

- updated tests
- simplified action stubbing
- command `param set` fixed