adding some pointer ref tests