add tests for FileInfo