got batchscheduler covered by tests.