testing ip functionality