replicating all cast tests in mingle/types in preparation of removing mingle/reactor.CastReactor