Fix the unit-tests for the change in the output of /api/collections/