add tests for pointers to pointers