added test for decoding bug
fix #48
test for #48
update varstruct
4.0.0