fix migrations tests