So you rely on hoping your tests exercise all possible paths, because if not you get silent race conditions in prod?
If you want you can run it in production, too (this would give you a warning, won't prevent race conditions, but there is almost no performance penalty). The point was this is very different from a mutex.