Test with a settimeout