Fix bug on internet access test