We should have some test cases so we know that the code doesn't have any errors the tests could include: test of ip patter, webpattern etc.