Test of db migration