Added a validator test for loopback addresses