BitPacker: deduplicate strings before merging them
Added grant/require tests