fix ip tests