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
Remember to aways format multiline dicts like this:

```python
args = {
    'id': ptable['id'],
    'operatingsystem-id': os['id'],
}
```

See the `,` added in the last line it is intentional.