Switch simulation tests to use setup/teardown funcs.