Added test for Scheduler using costs