Add atomic_stats test.