Improve test_eval.in

The old version required to change the range given to :w for each new
test. Now a new buffer is used instead.