BZ958: Fix for returning off-sized buffers to the manager
BZ958: Add test for off-sized buffers in the buffermanager