Tests: Fix compilation

Broken by ca151d07fa6d97039fed95dcabe206fce41f5769.

Change-Id: Ic6b58b5749d5811d1250840c81d692837e9a2cea
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>