Using correct API in ParticleTests