remove buffered input stream for test