tests: Fix tagging test

The test suite broke after the refactor of annotate to improve tag
accuracy.