small test on input and output