add pointer test
some other cases