Add test for file loading