migrated analyses. seems to work
fixed some of the analyses tests