Test matrix generation for feature branches.

The previous change to fix test matrix generation did not include a
test. Add a test here so that this does not regress.

Change-Id: Ib267a435fa0f28e50a83437d96ad0ef321ba6f46