Remove redundant padTableToSize call, and add another unit test