fix pack_unpack_hard

The signature of pack_unpack changed, but this test did not reflect that
change. It is no longer possible to specify nchunks, since the function to
compute the number of chunks has been simplified.

Should probably make this part of the travis CI tests.