test: Use `.lines()` method