Test shapeDblClick and shapeClicked.