fixed pass by value test