fix validation tests