Create separate test targets for local and CI testing

Currently blocked on http://www.chromestatus.com/feature/5714368087982080. Wait until Chrome 38 becomes stable before merging.