Modify taskScheduling.cpp testbench so working with new interface