Updated test to use pointers
Fix test runner