Add test for matching files