add collision detection test