add regression test, simulator is wrong