use poor man's heredoc in tests