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