Add optional ROM arg to optimize-test.