Unit_test_safe_completion