fix deprecation any_instances
test doesn't like @ldap ivar