fix compiler warnigns in automated tests