added validation that a case must contain at least one test