simple test of putchar()