[Concept] [PATCH 09/22] buildman: Use set comprehension in test.py