testing for lan