MDL-61859 core_completion: fix unit tests expecting exceptions twice