Test cases for immediate mode callback.
Test cases for immediate mode callback error handling.
Test case for immediate callback with scope.