add GetAllPendingRunOnces

this is used for tests