Add unit tests to gating jobs on elastic-recheck

This depends on the elastic-recheck change:
I4bdc7f1098bfb7fa16dd869b2e54b3154848c3e1

Change-Id: I2aa52d680e6f25d70c3f8be97503913149840d16
Merge "Add unit tests to gating jobs on elastic-recheck"