Changing waiting time in functional tests