Testing ip matching routines