Added unit test for serialization of parameterized method arguments.