Many test fixes including the introduction of a BaseMockTargetTest.
Fixup missing target aliases.
Fixup BUILD targets for moved files.