add testing for range data structure