add unit test, to test the whole simulator