fixed mixpanel for tests