Create testcase for partition table

please review it
thanks
Is this dict key supposed to be `new-name`? Or should it be `name`? I don't know enough about CLI tests to know.