added a simple stopwatch to test_functions
TEST: check dns timeout behaviour