Ignore ambiguous classes in tests/fixtures dirs, fixes #2858