Remove mention to cast in tests