Test cli for partition-table update and create

Please review it
Thanks
What happened here?