added pass by value test