Added support for multi-line input in golden tests.