test code in filter_scheduler