ByteBuffer implementation fixes
Generic frame decoder fixes
Separated module test