Refactor compiler tests around CompilerDriver. am: 815d5e5304
am: cde9306fba

Change-Id: Iffb2e855ba7053cf003ddf673c4b7f9da27a3b6a