Merge "Add missing test coverage for ByteBuffer.allocateDirect()."