fixed test error when wkhtmltoimage is not available