Reworked ipfilter unit tests