Convert test cases to be generated dynamically