Optimizing Unit Testing Efficiency with Context-Aware AI: Strategies and Best Practices