Add tests for command bus