fix analytics test