fix migration, add additional assert in test