Make sure test directory is unique per graph name (I didn't read the Javadoc carefully enough).