fixes to tests to including packing and unpacking...