Added a test to see if the Content-Length header will be overwritten (correct!) or throws an exception (bad!)