testing and validating