Simplify test: avoid dynamic memory allocation

Change-Id: I494aff37afa176faa7bbef39552d4bb237a685ae
1 file changed