Revamping Code Testing: Overcoming Limitations with AI-Assisted Unit Test Generation