Adding some test infrastructure pieces.

Missing the fake remote execution of an action, next on the list.