add test for set output on migration