Select the first test fingerprint for a test name for forked tests

Move the 'distinct by name' filter to Tests.processOptions, which is used
by both in-process and forked tests.
Merge pull request #1450 from pvlugter/junit-tests

Select the first test fingerprint for a test name for forked tests