Add the analytics tab
Add tests file