Add equal validator unit test