add google analytics and separate unit tests and e2e tests