python/samba/tests: move hexdump() from DNSTest to TestCase