ruby 1.8.7 compatibility for deferred write concern error tests

RUBY-676