Add test to schedule module