Created subclass unittest.TestCase for partition-table test

Please review it
Thanks
Missing checking the return code and stderr length