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
:+1: