Added unit test for Google Analytics