Wip add dumpling upgrade tests

@zmc 
@liewegas 

As we agreed I copied dumpling upgrade tests, please review and merge