4667. [cleanup] Refactor RDATA unit tests. [RT #45610] (cherry picked from commit 712825d755)
712825d755