unit test for CfR