decode test exhibiting a bug with pointer-valued maps
fix a bug decoding pointer-valued maps