isUser and isMatchwork in api, apitest, clienttest and client