testing stdin reader