Tests for range op