An Integrated Traffic and Vehicle Co-Simulation Testing Framework for Connected and Autonomous Vehicles