Adding tests for risks