testing particles with collision