Fix lost `x_defs` on test execution

* Fix lost `x_defs` on test execution

Fixed: https://github.com/bazelbuild/rules_go/issues/3134
7 files changed