drop db migration before and after hooks, add helpers and root hooks fix #531
also i'm trying to fix flaky tests