Adjusted multipage tests to use new interface of buffermanager.