until doesn't consume input;
improve test case and doc