Test that output is passed to migrations