junit test of input command