migration test working