The service is specific to 2U and should not be installed by default. When we try to patch objects from that library, that can only be done if the original object is importable. So those tests don't make sense to have in the base system which you should be able to run without the edx-name-affirmation library.
Name Affirmation API -------------------- This directory contains a passthrough for the edx-name-affirmation plugin, in order to enable support in other plugins/packages such as edx-proctoring. See here: `https://github.com/edx/edx-name-affirmation`_.