Test output on stdout