ModuleUtil uses Class#getDeclaredMethod to get a function to invoke instead of #getMethod. The latter fails to return invisible functions which hides the root of the problem.
More tests are added for ModuleUtil.