Moved delete bufMgr line, noticed segfault in test1()