* add migration tests that catch the bug * make multiple migrations more robust * clean up migrations ordering * update comment [ci skip] * remove explicit iter