better validation test