v0.4.0.
Fix race in flat test.