add file loader tests