Merge "Add new APIs rsGetDim[XYZ]() and add RSTest test cases to exercise them."