fixed validation test