Add assert.Same for testing function pointers