Adding checkCollision tests.