Add a test for the filename regression

Files that have the same filename in a different path step on eachother
and prevent one or the other from being properly loaded.