fixed unit testing

aggregate scheduling is not started in unit tests.