improve code coverage for RI