Fix for failing test by adding an int to increment the filename