Changes for PR review: More compact tests, enumeration for metadata
sort order, etc.
https://openedx.atlassian.net/browse/PLAT-74