fixes for bin/enc(p)
add test for unpacked rendering