add scheduler test