added test to exercise input from range adaptor