Test cli for partition-table update and create

Please review it
Thanks
Aaack! Why are we catching `Exception`? Does `make_partition_table` raise `Exception`?