Fixed input for wkhtmltoimage to be a Tempfile only when html string is passed
specs fixing