t3002: add a test with multiple up-to-date branches

This scenario was previously not tested.

Signed-off-by: John Keeping <john@keeping.me.uk>