add typecasting test