Test for getsyncfolders
Implemented generatesecret