code: private String generateFilename() {
          String counter = "";
          if (capabilities.getInstance() > 0) {
              counter = "_" + capabilities.getInstance();
          }
          return test + counter;
      }
docs: Generates a unique filename, based on the package, class, method name, and invocation count
  
  @return String: the filename