some tests for encoding and decoding of names according to DNS protocol