Added Tests

Added tests for schedulerimpl, workerthreadimpl and JobComparator