Added test for partition-table

The tests asserts and checks if the associated operating system to partition-table can be removed

please review it
thanks
Factories returns the created object, just assign it here and drop lines 172-177