Enhancing Vehicle Safety through Adaptive Cruise Control Simulation and Testing