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
Better to create a new OS, factories could help here.