QA: Fix undefined var issue in tests

Change-Id: Id6ddf80ff9ed692a43600c75e7b42ef0f49c6cc0
Merge "QA: Fix undefined var issue in tests"