New loneliness risk test in North Yorkshire