integration tests for range validator