Added unit test for crp_check