public List<TestStep> getFlattenedTestSteps() {
   List<TestStep> flattenedTestSteps = new ArrayList<TestStep>();
   for (TestStep step : getTestSteps()) {
     flattenedTestSteps.add(step);
     if (step.isAGroup()) {
       flattenedTestSteps.addAll(step.getFlattenedSteps());
     }
   }
   return ImmutableList.copyOf(flattenedTestSteps);
 }