Unit tests for MethodModel
Unit tests for FunctionModel and AbstractFunctionModel