Add a test which exercises a speculative role checkout

We didn't have coverage for the code which identifies that a role
needed for a job is one that is already checked out because there
is a proposed change for that role being tested.  This adds a test
for that sitution.

Change-Id: If5c5ee8cd103b9e90a65a120fd6082656846c597
8 files changed