validation testing wrapped