Fixed the risk validation tests