[Extensions] Add XWalkExtensionFunctionHandler unit tests

Paying a technical debt from #520