This test sets a cookie, then loads an image in onunload, where the image URL matches a 'block-cookie' rule.