test not using heredoc