fixed tests, renamed histrange