Adding test for setAllAliases

Change-Id: I0df64b8125073f4cb24d26b228a86839ae8dbf1e
Merge "Adding test for setAllAliases"