test schedule and assign functions.