tests: Add a test for global pointers to function
Added test for indirect functions with function pointer arguments