[tests] improve tests reliability

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