[Concept] [PATCH 10/21] test: Add a helper to check the next line against a regex