adding support for quantcast with tests