test: add stdin test