Add tests for TXT record serialization