testing just the decoder