Fix AbstractInputRange tests