added function test to valid_ip()
added function test for delitem_inarray()