fix chart export tests correctly

we have a static counter that increments chart export file names. So
only the first exported file gets the file name chart1.xml and all the
following charts are incremented by one even if they are in a different
file.

Change-Id: Iceaecb554bcb8d134eef7f7e3b11564a68794517