fixing the analyses tests