test collisions implementation