Fix incorrect boolean array pack/unpacking
Add float64 array test