remove rspec should also use let for input stream