Adding unit tests for MethodDataParam