Use ternary operator for className values
Implement CSV and JSON download of testCase and simulationResult