Add test for matching 'filename'