refined test-routine to work in vservers without 'lo' interface