Added test case for buffer.getInfo()