Remove warnings from tests

Change-Id: I7593e3ac4f4e712571307ee49b9aa882715a2dba