fix share api tests
fix target generation for group shares
fix encryption tests after the removal of the shared folder
fix updating of shared files
fix deleting of shared files