add some test migrations and some fix