Created subclass unittest.TestCase for partition-table test

Please review it
Thanks
As a rule of thumb, creating module-wide variables is a bad idea.