Revert unnecessary test change (#4442) This was included in 8286eae655d83412d11169ea707592cf0c0979b3, but turned out not to be necessary on Bazel 7 and later.