updated mocks with findRolesInExternalNodeForPath method