Add tests to check nullabilities of cast expressions.