analytics rest test fix