a/util: Fix missing include for generic callback structure.
Also extend the tests to actually include invocation of callbacks, and rename a template parameter for clearer usage.
Also extend the tests to actually include invocation of callbacks, and rename a template parameter for clearer usage.