assert_content_type test helper.