Add test for CoreUtils retry helper