Fixed folders controller tests, ordering issue, and added route tests.