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