added helpers to test context and command pattern actions