Add a test for the named scope with_external_id on user.