[test] fix compilation error since commit 0a22008