'Namespaced' ExitCause constants and fixed test failures.