Add test for file