1:1 translation for libchan Data test suite into Java