Test plotting now uses Agg backend