Added decode tests to test decoding when the length of the array/assocArray is different than the default ushort