test coalesced output in js