Call all callbacks within the same timestep

* All callbacks that have to be called within one timestep will be called prior to running the simulator again.
* Added unittest verifying the callcounts.