Added test for create partition table

Please review it
Thanks
This is vague and slightly dangerous. Any reason `Exception` is caught, not something more specific? `make_partition_table()` does not raise any exceptions, so it's hard for me to figure out if a more appropriate exception can be caught.