Added unit test for in/out for primitive parameters.