test: Add a way to check each line of console output