unit-tests: Fix a compiler warning in identification tests