test scalar output support