mocking GA lib and added a test for the ga plugin