Simplify tests for packing and unpacking by having just one test method using mocks.