added detail message test for validator, maked validator full code cover test