nibble_packing test improved