Enabled self test of bytebuffer
Added tons more asserts to bytebuffer