"""Unit tests for risk management."""