added test for FileProvider