add test for migration, prymitive/upaas#64