Create testcase for partition table

please review it
thanks
As per IRC conversation, this is correct.