refactor: slightly improve some tests.
dev: remove unused AttributeUsage attributes.
refactor: fix some typos.