Fix broken GraphicObjectTest

Change-Id: I3f7e0ccd5697a4ca6026bec60210e24af25fb92f