Refactor compiler tests around CompilerDriver.
am: 815d5e5304

Change-Id: Iaedb78c48f2ac46a8333a9893fc06b9a53f875a3