Fix buffer reset between test suites.