string type casting tests