Running tests and validating