Added missing rv check in test

A couple of return values are not checked in test_unpack.c. This produces warnings when building with clang.