add bytes encoding/decoding check in cross test