Adds simulation wrapper and tests.