SimulateController and ExecuteCommand Example