add more tests for range