stub redis in processEvents as well