Adding type convertion example and testing code