Fixed the risk tests