Test getDimension() complete.