[unpacker] add test cases