Trigger: improve handling of geometry tags in tests
Improve handling of geometry tags in trigger tests. Note that this only covers unit tests, but some additional ART tests may fail after !65253 (merged) is merged.
I also added a helper method for tests that have variable input files.