Test iframe is not injected if response type is not html