[tests] gcc 4.8 compilation fix

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>