Test could fail on a time based race condition