add authority handler tests and fix bug on empty zones
implement suffix for domain names