it('calls db to check if user exists', async () => {
    try {
      db.query.mockReturnValue([])

      await register(