Tests now use CONTENT_LENGTH correctly