tested DataIO Role.
added isError, fixed injection class name; added applyDataIO method in RoleManager.