Add test for same name in different files

Closes #10