In addition to adding some tests, this commit moves the `GenerateUint64Slice()` helper function into a new `generator` package so that it can be used in both internal and non-internal tests.