update the private browsing detection and fix up the test for the collector