add mixpanel and tests