basic test for pass by ref, passing