Fixing tests

Fixed: GerritTriggerTest, SpecGerritVerifiedSetterTest
And some issues those tests found.

Tests still failing:
  BackCompat2101HudsonTest, MemoryImprintTest, ToGerritRunListenerTest