TestEncodeBytes works when RUN