adjusting content-length of tests to pass with ruby 1.9.x (If Ruby version >= 2 the content-length changes)