Dev Wade

add isIpValid fuction for ipAddress
modify  NS search xml Test