add analytics tracking test to locationService test