Add tests for content-length