Fixed export.hazard_test
Fixed the risk export test