adding decoding testing