[#2170] Fix tests to not worry about order.

See issue: https://github.com/ckan/ckan/issues/2171