adding unittest coverage for migrations