setup: hide internal structure (thunk)

Redefine the setup function as a macro to hide its irrelevant (to the
test writer) internal structure as a symbol-to-thunk binding.