Add tests for annotations with no targets.