Feature additional tests

- fix Karma issues with Sinon
- action-related unit tests
- dispatcher unit tests