functional tests for stripping out the content type