Test Beam Performance Measurements for the Phase I Upgrade of the CMS Pixel Detector