This would allow to test it with `bazel test` To do so, shipping the source of the repository might be needed. See how it is done in bazel in src/test/shell/bazel/...