[PATCH v2 22/32] test: Group tests by context then protocol, rather than the reverse