Added tests for MethodUtil