Add unpad tests, improve decompress error checking

Decompression now errors when the input data it's given is smaller than it could
possibly be. This was accomplished by getting the length of the smallest
possible data (an empty array) when compressed with `compress`.