Testing different types of collision detection