updated testing calls to pass ip and range in correct parameters