* adding testing for users functions * turning KanidmClient build error into a ClientError * removing a redundant closure