[PATCH v10 1/4] tests: Add some tests for GetDimensions().