added test_in_range