fix simulation test