add decoding/encoding of REND and TEST blocks