add some test cases for pointers