#test_case is used by custom test authors to mark tests
When building for test, it needs to make the item public and gensym the name
Otherwise, we’ll omit the item. This behavior means that any item annotated
with #test_case is never addressable.
Attempts to determine the type of test.
Since doctests are created without macro expanding, only possible variants here
are UnitTest, IntegrationTest or Unknown.