FileCollectorTest: Test consecutive invocations

This makes the test more thorough while increasing branch coverage.