added debug traces in analyses tests