Optimizing Java Unit Testing: Strategies for Efficient and Effective Test Automation