Test cli for partition-table update and create

Please review it
Thanks
Again, do not call `self.setUp`.