basic pointer test working