Adding unit tests for FileService