tests: Test some corner cases of upkg_decode_index.