[cmx] Add cmx to integration tests running as components

TESTED=
fx set x64 --packages garnet/packages/all,peridot/packages/all
fx build
fx run
/pkgfs/packages/modular_tests/0/test/run_modular_tests.sh

CF-129 #comment
MF-73 #done

Change-Id: I571d352d4d973f986c69f7f3e4f90a7f2a106ae5
diff --git a/tests/chain/BUILD.gn b/tests/chain/BUILD.gn
index 7ea2a36..080c083 100644
--- a/tests/chain/BUILD.gn
+++ b/tests/chain/BUILD.gn
@@ -7,6 +7,13 @@
 executable_package("chain_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/chain_test_session_shell.cmx"
+      dest = "chain_test_session_shell.cmx"
+    },
+  ]
+  
   sources = [
     "chain_test_session_shell.cc",
   ]
@@ -27,11 +34,20 @@
     "//peridot/public/lib/context/cpp:formatting",
     "//peridot/tests/common:defs",
   ]
+
+#
 }
 
 executable_package("chain_test_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/chain_test_module.cmx"
+      dest = "chain_test_module.cmx"
+    },
+  ]
+
   sources = [
     "chain_test_module.cc",
   ]
@@ -51,6 +67,13 @@
 executable_package("chain_test_child_module") {
   testonly = true
 
+    meta = [
+    {
+      path = "meta/chain_test_child_module.cmx"
+      dest = "chain_test_child_module.cmx"
+    },
+  ]
+
   sources = [
     "chain_test_child_module.cc",
   ]
diff --git a/tests/chain/meta/chain_test_child_module.cmx b/tests/chain/meta/chain_test_child_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/chain/meta/chain_test_child_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/chain/meta/chain_test_module.cmx b/tests/chain/meta/chain_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/chain/meta/chain_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/chain/meta/chain_test_session_shell.cmx b/tests/chain/meta/chain_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/chain/meta/chain_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/clipboard/BUILD.gn b/tests/clipboard/BUILD.gn
index cefc38b..b87ad19 100644
--- a/tests/clipboard/BUILD.gn
+++ b/tests/clipboard/BUILD.gn
@@ -10,6 +10,14 @@
   sources = [
     "clipboard_test_module.cc",
   ]
+
+  meta = [
+    {
+      path = "meta/clipboard_test_module.cmx"
+      dest = "clipboard_test_module.cmx"
+    },
+  ]
+  
   deps = [
     ":defs",
     "//garnet/public/fidl/fuchsia.testing.runner",
diff --git a/tests/clipboard/meta/clipboard_test_module.cmx b/tests/clipboard/meta/clipboard_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/clipboard/meta/clipboard_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/component_context/BUILD.gn b/tests/component_context/BUILD.gn
index ccd27d5..ff55743 100644
--- a/tests/component_context/BUILD.gn
+++ b/tests/component_context/BUILD.gn
@@ -8,6 +8,13 @@
 executable_package("component_context_test_module") {
   testonly = true
 
+    meta = [
+    {
+      path = "meta/component_context_test_module.cmx"
+      dest = "component_context_test_module.cmx"
+    },
+  ]
+
   sources = [
     "component_context_test_module.cc",
   ]
@@ -28,6 +35,13 @@
 executable_package("component_context_test_one_agent") {
   testonly = true
 
+    meta = [
+    {
+      path = "meta/component_context_test_one_agent.cmx"
+      dest = "component_context_test_one_agent.cmx"
+    },
+  ]
+
   sources = [
     "component_context_test_one_agent.cc",
   ]
@@ -48,6 +62,13 @@
 executable_package("component_context_test_two_agent") {
   testonly = true
 
+    meta = [
+    {
+      path = "meta/component_context_test_two_agent.cmx"
+      dest = "component_context_test_two_agent.cmx"
+    },
+  ]
+
   sources = [
     "component_context_test_two_agent.cc",
   ]
@@ -65,6 +86,13 @@
 executable_package("component_context_test_unstoppable_agent") {
   testonly = true
 
+    meta = [
+    {
+      path = "meta/component_context_test_unstoppable_agent.cmx"
+      dest = "component_context_test_unstoppable_agent.cmx"
+    },
+  ]
+
   sources = [
     "component_context_test_unstoppable_agent.cc",
   ]
diff --git a/tests/component_context/meta/component_context_test_module.cmx b/tests/component_context/meta/component_context_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/component_context/meta/component_context_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/component_context/meta/component_context_test_one_agent.cmx b/tests/component_context/meta/component_context_test_one_agent.cmx
new file mode 100644
index 0000000..0db7a01
--- /dev/null
+++ b/tests/component_context/meta/component_context_test_one_agent.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.AgentContext",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/component_context/meta/component_context_test_two_agent.cmx b/tests/component_context/meta/component_context_test_two_agent.cmx
new file mode 100644
index 0000000..0db7a01
--- /dev/null
+++ b/tests/component_context/meta/component_context_test_two_agent.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.AgentContext",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/component_context/meta/component_context_test_unstoppable_agent.cmx b/tests/component_context/meta/component_context_test_unstoppable_agent.cmx
new file mode 100644
index 0000000..0db7a01
--- /dev/null
+++ b/tests/component_context/meta/component_context_test_unstoppable_agent.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.AgentContext",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/embed_shell/BUILD.gn b/tests/embed_shell/BUILD.gn
index 874bcbc..36716cc 100644
--- a/tests/embed_shell/BUILD.gn
+++ b/tests/embed_shell/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("embed_shell_test_child_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/embed_shell_test_child_module.cmx"
+      dest = "embed_shell_test_child_module.cmx"
+    },
+  ]
+
   sources = [
     "embed_shell_test_child_module.cc",
   ]
@@ -33,6 +40,13 @@
 executable_package("embed_shell_test_parent_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/embed_shell_test_parent_module.cmx"
+      dest = "embed_shell_test_parent_module.cmx"
+    },
+  ]
+
   sources = [
     "embed_shell_test_parent_module.cc",
   ]
@@ -52,6 +66,13 @@
 executable_package("embed_shell_test_story_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/embed_shell_test_story_shell.cmx"
+      dest = "embed_shell_test_story_shell.cmx"
+    },
+  ]
+
   sources = [
     "embed_shell_test_story_shell.cc",
   ]
diff --git a/tests/embed_shell/meta/embed_shell_test_child_module.cmx b/tests/embed_shell/meta/embed_shell_test_child_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/embed_shell/meta/embed_shell_test_child_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/embed_shell/meta/embed_shell_test_parent_module.cmx b/tests/embed_shell/meta/embed_shell_test_parent_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/embed_shell/meta/embed_shell_test_parent_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/embed_shell/meta/embed_shell_test_story_shell.cmx b/tests/embed_shell/meta/embed_shell_test_story_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/embed_shell/meta/embed_shell_test_story_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/last_focus_time/BUILD.gn b/tests/last_focus_time/BUILD.gn
index 1383040..6b7d6d5 100644
--- a/tests/last_focus_time/BUILD.gn
+++ b/tests/last_focus_time/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("last_focus_time_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/last_focus_time_test_session_shell.cmx"
+      dest = "last_focus_time_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "last_focus_time_test_session_shell.cc",
   ]
diff --git a/tests/last_focus_time/meta/last_focus_time_test_session_shell.cmx b/tests/last_focus_time/meta/last_focus_time_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/last_focus_time/meta/last_focus_time_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/link_context_entities/BUILD.gn b/tests/link_context_entities/BUILD.gn
index ff9bee5..7b4151a 100644
--- a/tests/link_context_entities/BUILD.gn
+++ b/tests/link_context_entities/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("link_context_entities_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/link_context_entities_test_session_shell.cmx"
+      dest = "link_context_entities_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "link_context_entities_test_session_shell.cc",
   ]
@@ -41,6 +48,13 @@
 executable_package("link_context_entities_test_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/link_context_entities_test_module.cmx"
+      dest = "link_context_entities_test_module.cmx"
+    },
+  ]
+
   sources = [
     "link_context_entities_test_module.cc",
   ]
diff --git a/tests/link_context_entities/meta/link_context_entities_test_module.cmx b/tests/link_context_entities/meta/link_context_entities_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/link_context_entities/meta/link_context_entities_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/link_context_entities/meta/link_context_entities_test_session_shell.cmx b/tests/link_context_entities/meta/link_context_entities_test_session_shell.cmx
new file mode 100644
index 0000000..6e05556
--- /dev/null
+++ b/tests/link_context_entities/meta/link_context_entities_test_session_shell.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.IntelligenceServices",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/link_passing/BUILD.gn b/tests/link_passing/BUILD.gn
index e5d9a66..a6d7c0b 100644
--- a/tests/link_passing/BUILD.gn
+++ b/tests/link_passing/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("link_passing_test_module1") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/link_passing_test_module1.cmx"
+      dest = "link_passing_test_module1.cmx"
+    },
+  ]
+
   sources = [
     "link_passing_test_module1.cc",
   ]
@@ -33,6 +40,13 @@
 executable_package("link_passing_test_module2") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/link_passing_test_module2.cmx"
+      dest = "link_passing_test_module2.cmx"
+    },
+  ]
+
   sources = [
     "link_passing_test_module2.cc",
   ]
@@ -51,6 +65,13 @@
 executable_package("link_passing_test_module3") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/link_passing_test_module3.cmx"
+      dest = "link_passing_test_module3.cmx"
+    },
+  ]
+
   sources = [
     "link_passing_test_module3.cc",
   ]
diff --git a/tests/link_passing/meta/link_passing_test_module1.cmx b/tests/link_passing/meta/link_passing_test_module1.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/link_passing/meta/link_passing_test_module1.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/link_passing/meta/link_passing_test_module2.cmx b/tests/link_passing/meta/link_passing_test_module2.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/link_passing/meta/link_passing_test_module2.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/link_passing/meta/link_passing_test_module3.cmx b/tests/link_passing/meta/link_passing_test_module3.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/link_passing/meta/link_passing_test_module3.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/module_context/BUILD.gn b/tests/module_context/BUILD.gn
index 38559fd..96b092c 100644
--- a/tests/module_context/BUILD.gn
+++ b/tests/module_context/BUILD.gn
@@ -7,6 +7,13 @@
 executable_package("module_context_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/module_context_test_session_shell.cmx"
+      dest = "module_context_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "module_context_test_session_shell.cc",
   ]
@@ -32,6 +39,13 @@
 executable_package("module_context_test_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/module_context_test_module.cmx"
+      dest = "module_context_test_module.cmx"
+    },
+  ]
+
   sources = [
     "module_context_test_module.cc",
   ]
@@ -53,6 +67,13 @@
 executable_package("module_context_test_entity_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/module_context_test_entity_module.cmx"
+      dest = "module_context_test_entity_module.cmx"
+    },
+  ]
+
   sources = [
     "module_context_test_entity_module.cc",
   ]
diff --git a/tests/module_context/meta/module_context_test_entity_module.cmx b/tests/module_context/meta/module_context_test_entity_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/module_context/meta/module_context_test_entity_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/module_context/meta/module_context_test_module.cmx b/tests/module_context/meta/module_context_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/module_context/meta/module_context_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/module_context/meta/module_context_test_session_shell.cmx b/tests/module_context/meta/module_context_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/module_context/meta/module_context_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/parent_child/BUILD.gn b/tests/parent_child/BUILD.gn
index a2061c2..0a971b2 100644
--- a/tests/parent_child/BUILD.gn
+++ b/tests/parent_child/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("parent_child_test_child_module1") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/parent_child_test_child_module1.cmx"
+      dest = "parent_child_test_child_module1.cmx"
+    },
+  ]
+
   sources = [
     "parent_child_test_child_module1.cc",
   ]
@@ -33,6 +40,13 @@
 executable_package("parent_child_test_child_module2") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/parent_child_test_child_module2.cmx"
+      dest = "parent_child_test_child_module2.cmx"
+    },
+  ]
+
   sources = [
     "parent_child_test_child_module2.cc",
   ]
@@ -51,6 +65,13 @@
 executable_package("parent_child_test_parent_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/parent_child_test_parent_module.cmx"
+      dest = "parent_child_test_parent_module.cmx"
+    },
+  ]
+
   sources = [
     "parent_child_test_parent_module.cc",
   ]
diff --git a/tests/parent_child/meta/parent_child_test_child_module1.cmx b/tests/parent_child/meta/parent_child_test_child_module1.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/parent_child/meta/parent_child_test_child_module1.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/parent_child/meta/parent_child_test_child_module2.cmx b/tests/parent_child/meta/parent_child_test_child_module2.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/parent_child/meta/parent_child_test_child_module2.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/parent_child/meta/parent_child_test_parent_module.cmx b/tests/parent_child/meta/parent_child_test_parent_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/parent_child/meta/parent_child_test_parent_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/queue_persistence/BUILD.gn b/tests/queue_persistence/BUILD.gn
index f6b709e..bc0a5ab 100644
--- a/tests/queue_persistence/BUILD.gn
+++ b/tests/queue_persistence/BUILD.gn
@@ -16,6 +16,13 @@
 executable_package("queue_persistence_test_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/queue_persistence_test_module.cmx"
+      dest = "queue_persistence_test_module.cmx"
+    },
+  ]
+
   sources = [
     "queue_persistence_test_module.cc",
   ]
@@ -36,6 +43,13 @@
 executable_package("queue_persistence_test_agent") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/queue_persistence_test_agent.cmx"
+      dest = "queue_persistence_test_agent.cmx"
+    },
+  ]
+
   sources = [
     "queue_persistence_test_agent.cc",
   ]
diff --git a/tests/queue_persistence/meta/queue_persistence_test_agent.cmx b/tests/queue_persistence/meta/queue_persistence_test_agent.cmx
new file mode 100644
index 0000000..0db7a01
--- /dev/null
+++ b/tests/queue_persistence/meta/queue_persistence_test_agent.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.AgentContext",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/queue_persistence/meta/queue_persistence_test_module.cmx b/tests/queue_persistence/meta/queue_persistence_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/queue_persistence/meta/queue_persistence_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/session_shell/BUILD.gn b/tests/session_shell/BUILD.gn
index 65b4602..a33a297 100644
--- a/tests/session_shell/BUILD.gn
+++ b/tests/session_shell/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("session_shell_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/session_shell_test_session_shell.cmx"
+      dest = "session_shell_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "session_shell_test_session_shell.cc",
   ]
diff --git a/tests/session_shell/meta/session_shell_test_session_shell.cmx b/tests/session_shell/meta/session_shell_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/session_shell/meta/session_shell_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/story_shell/BUILD.gn b/tests/story_shell/BUILD.gn
index 501ca7a..60440f5 100644
--- a/tests/story_shell/BUILD.gn
+++ b/tests/story_shell/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("story_shell_test_story_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/story_shell_test_story_shell.cmx"
+      dest = "story_shell_test_story_shell.cmx"
+    },
+  ]
+
   sources = [
     "story_shell_test_story_shell.cc",
   ]
@@ -43,6 +50,13 @@
 executable_package("story_shell_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/story_shell_test_session_shell.cmx"
+      dest = "story_shell_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "story_shell_test_session_shell.cc",
   ]
diff --git a/tests/story_shell/meta/story_shell_test_session_shell.cmx b/tests/story_shell/meta/story_shell_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/story_shell/meta/story_shell_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/story_shell/meta/story_shell_test_story_shell.cmx b/tests/story_shell/meta/story_shell_test_story_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/story_shell/meta/story_shell_test_story_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/story_update/BUILD.gn b/tests/story_update/BUILD.gn
index fb5ec61..95384ba 100644
--- a/tests/story_update/BUILD.gn
+++ b/tests/story_update/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("story_update_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/story_update_test_session_shell.cmx"
+      dest = "story_update_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "story_update_test_session_shell.cc",
   ]
diff --git a/tests/story_update/meta/story_update_test_session_shell.cmx b/tests/story_update/meta/story_update_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/story_update/meta/story_update_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/suggestion/BUILD.gn b/tests/suggestion/BUILD.gn
index 900fa06..a33d4ea 100644
--- a/tests/suggestion/BUILD.gn
+++ b/tests/suggestion/BUILD.gn
@@ -15,6 +15,13 @@
 executable_package("suggestion_test_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/suggestion_test_module.cmx"
+      dest = "suggestion_test_module.cmx"
+    },
+  ]
+
   sources = [
     "suggestion_test_module.cc",
   ]
@@ -34,6 +41,13 @@
 executable_package("suggestion_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/suggestion_test_session_shell.cmx"
+      dest = "suggestion_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "suggestion_test_session_shell.cc",
   ]
diff --git a/tests/suggestion/meta/suggestion_test_module.cmx b/tests/suggestion/meta/suggestion_test_module.cmx
new file mode 100644
index 0000000..6e05556
--- /dev/null
+++ b/tests/suggestion/meta/suggestion_test_module.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.IntelligenceServices",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/suggestion/meta/suggestion_test_session_shell.cmx b/tests/suggestion/meta/suggestion_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/suggestion/meta/suggestion_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/trigger/BUILD.gn b/tests/trigger/BUILD.gn
index a1db925..c41deb0 100644
--- a/tests/trigger/BUILD.gn
+++ b/tests/trigger/BUILD.gn
@@ -16,6 +16,13 @@
 executable_package("trigger_test_session_shell") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/trigger_test_session_shell.cmx"
+      dest = "trigger_test_session_shell.cmx"
+    },
+  ]
+
   sources = [
     "trigger_test_session_shell.cc",
   ]
@@ -37,6 +44,13 @@
 executable_package("trigger_test_module") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/trigger_test_module.cmx"
+      dest = "trigger_test_module.cmx"
+    },
+  ]
+
   sources = [
     "trigger_test_module.cc",
   ]
@@ -57,6 +71,13 @@
 executable_package("trigger_test_agent") {
   testonly = true
 
+  meta = [
+    {
+      path = "meta/trigger_test_agent.cmx"
+      dest = "trigger_test_agent.cmx"
+    },
+  ]
+
   sources = [
     "trigger_test_agent.cc",
   ]
diff --git a/tests/trigger/meta/trigger_test_agent.cmx b/tests/trigger/meta/trigger_test_agent.cmx
new file mode 100644
index 0000000..0db7a01
--- /dev/null
+++ b/tests/trigger/meta/trigger_test_agent.cmx
@@ -0,0 +1,26 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.AgentContext",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
diff --git a/tests/trigger/meta/trigger_test_module.cmx b/tests/trigger/meta/trigger_test_module.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/trigger/meta/trigger_test_module.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file
diff --git a/tests/trigger/meta/trigger_test_session_shell.cmx b/tests/trigger/meta/trigger_test_session_shell.cmx
new file mode 100644
index 0000000..b920ef2
--- /dev/null
+++ b/tests/trigger/meta/trigger_test_session_shell.cmx
@@ -0,0 +1,25 @@
+{
+    "program": {
+        "binary": "bin/app"
+    },
+    "sandbox": {
+        "services": [
+            "fuchsia.cobalt.LoggerFactory",
+            "fuchsia.modular.BasemgrMonitor",
+            "fuchsia.modular.ModuleContext",
+            "fuchsia.modular.PuppetMaster",
+            "fuchsia.modular.SessionShellContext",
+            "fuchsia.net.LegacySocketProvider",
+            "fuchsia.sys.Environment",
+            "fuchsia.sys.Launcher",
+            "fuchsia.sys.Loader",
+            "fuchsia.testing.runner.TestRunner",
+            "fuchsia.testing.runner.TestRunnerStore",
+            "fuchsia.tracelink.Registry",
+            "fuchsia.ui.policy.Presenter",
+            "fuchsia.ui.scenic.Scenic",
+            "fuchsia.ui.viewsv1.ViewManager",
+            "fuchsia.ui.viewsv1.ViewSnapshot"
+        ]
+    }
+}
\ No newline at end of file