Fixed tests

- Had to artificially implement the event dispatcher in the
  BaseTestCommand