Added Buffer::clear()
Fleshed out Buffer unit tests.