scheduler: re-implement mockAgent containerEvents