set up infrastructure to test native optimizer in other.test_js_optimizer