Fix fixed64 type packing, improve tests