run validate for testing.