Added test cases for content-type handling.