Add unit test for mixed bits+bytes pack