unit test for simu