iotests: Add test for different refcount widths