adding user repository tests