Test: new unit test, no functional changes. Bug: 32198726 (cherry picked from commit 74264329) Change-Id: I123de68de9ae353b95edce89eb570cfbb5f8d9a3