Add ranging validator unit tests