Added test to verify that migrations are skipped when applied multiple times.