Added test for create partition table

Please review it
Thanks
@Ichimonji10 CLI factories raise an exception when they could not create and get the info. The problem is that the exception is a plain Exception, so we need a big refactor to create a more specific exception like `CLICommandError`. And yeah, catching a generic exception is terrible. I will work on this refactor hopefully today.