Added unit tests for bytebuffer package.