Added stdin test.