fix deprecated analitycs tests