Added tests for the scheduler and core-limit strategies. Cleaned up the code.