fix BulkFetchAnnotationResourceImpl
fix tests