LPS-29232 Updated ValidatorTest.java
LPS-29232 Also add hostname starting with period as an invalid hostname