Network matching against black-whitelists test