test for malloc and free, add pointer deref to parser