Use heredoc for CommonJS wrapping test