crypto: testmgr - Fix error flow of test_comp