added test scheduler and 1st unit test