char pointer type checking tests