FS-9 FS-13: Added a test for testing the updateFile in EncryptionManager