Nesting routes, fixed failing tests, added department editing