Fix up 16bit bit packing tests and code