Fix subdomain, add test, space and comment fix

Cleaning things when learning the code. 
there's no necessary to add these code. because `strings.Split("",";")` will retrun `[]string{}`