E2E: Automate AI Code Testing with End-to-End Validation