Updated test case definitions in lib/code-ai.ts to use string-based JSON representations instead of dynamic-key objects. This change significantly improves compatibility with Gemini's structured-output mode and introduces robust validation logic to ensure data integrity. These modifications should reduce parser errors in AI-driven test execution. Refactoring test schemas

Refactored test case schemas for improved Gemini compatibility - subh05sus/sparkmentis-fork