test for w2p_pack/w2p_unpack