test: fix compiler warning