add type cast tests
suppress warning