Make sure we're actually testing the equality of buffers in tests

Signed-off-by: nscavell <nick.scavelli@gmail.com>