Fix formatting parameter.
Generalize test file by including both line and path elements for describing lines.