Test that the buffer does not get mutated.