Add a test for getCurrentTime_ that uses timeouts.