test: add isPlainHostName() tests