refactoring: rename T to TestingT, BufferT to mockTestingT