[service] *add getAssociations methods and edit tests