added update next event, wrote more tests and moved max_simulation_time ...

...to __init__ of simulation