[Test] Extended IndexActionTests.testAutoGenerateIdNoDuplicates to check both with and without a specific type

The test also captures the first error but continues to run searches in order to gather more information before failing.