implement user repository tests