patch BulkFetchAnnotationResourceImpl into application and add a simple
test to verify it