[tsan] race_on_write test