added test to ensure content type is correct