added expectations for checkCollisions