adding more pointer/ref tests