Add tests for google analytics