testing the simulation engine components, some fixes as a result