string to ptr test