Test cli for partition-table update and create

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