Replace regex with PHP filter in InternetTest

I also add a test for the ipv6() in the Provider/Internet.