tsan: fix incorrect test