fix tests validate