add tests for folders routes