Transport for London (TfL) is testing new bus sensor technology that alerts drivers when pedestrians and cyclists get too close to their vehicles in an effort to improve road safety.