test: Fix compiler warning