Use example.com instead of test.com for tests

I noticed that some functional tests had ERROR logs which suggested that they were trying to contact test.com and test1.com, so I have replaced such references with example.com, which is meant for such purposes: http://www.iana.org/domains/reserved