Add test for permission @FolderIndex

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>