add testing for pointer utility functions