move heredoc tests into their own file.
more heredoc patches