Issue #2 - validate domain part for . and improve tests