Providing NameApiModeFactory for the basic mode.
DEA service now returns result object.
Updated test code for mode creation.