Fixed fileService tests

Fixed fileService tests