tests: Added mock methods to tests for testing without access to ES.

* AssertionErrors raised in ActionQueue thread are now also re-raised in test
  thread.

Signed-off-by: Joe MacMahon