Test cli for partition-table update and create

Please review it
Thanks
Do not call `self.tearDown`. The test suite does this for you.