adding analytics calls, some tests
adding test suite for analytics
Merge pull request #1 from toddself/analytics

Analytics