Added test for create partition table

Please review it
Thanks
By the way, if an exception is raised within a test and that exception is not caught, the test automatically fails. It may be better to simply let the exception be un-caught than to catch this.