stdin test added