Test cli for partition-table update and create

Please review it
Thanks
Same as above. Do not call `self.tearDown`.