function Test() {
    this.report = {
      failures: 0,
      success: 0,
      errorMessages: []
    };
  }
// initiates the class with a report object
initiates the class with a report object
initiates the class with a report object
function Test() {
    this.report = {
      failures: 0,
      success: 0,
      errorMessages: []
    };
  }
function Test ( ) { this . report = { failures : 0 , success : 0 , errorMessages : [ ] } ; }
initiates the class with a report object
initiates the class with a report object