Stop using deprecateds method in TestChanges

Change-Id: I2397e394254a664ed40e76520383496f6fe31ca7
Merge "Stop using deprecateds method in TestChanges"