core: initialize variable in test

Fix coverity issue CID 1229126.

Change-Id: I25b2fbeb703a4d148557f0a8aa6adbaafa4e1923
Signed-off-by: Vered Volansky <vvolansk@redhat.com>