[PATCH v4 08/19] test: Introduce the concept of a role