testing pack/unpack