Add interleaved encoding test and missing binding test.