Adding a test case for declaring a ref argument