LDN-1825 adding unit test for composite validator