#158 improve ip tests