IBM partition table: Fix a bug; add another test.