Test race condition