improve schedule test