final OtpOutputStream out = new OtpOutputStream();
ss.encode(out);
final byte[] contents1 = out.toByteArray();
out.reset();
final OtpErlangList s = (OtpErlangList) termParser.parse("[3,4]");
s.encode(out);
final byte[] contents2 = out.toByteArray();
out.close();
Assert.assertEquals(contents2.length, contents1.length);
for (int i = 0; i < contents1.length; i++) {