Improving test line coverage on FileStoreController.
Simplifying downloadFolder(), thereby improving its coverage.
Adding tests to get/set group permission resources.