The bug was caused by forgetting to lower-case the filename tag for matching against test spec. Fixes #2064