Add test main function for scheduler
Merge pull request #1 from kzjnet/scheduler

Add test main function for scheduler