Added method to cast modal spells with specific modes for test player. Added condition for test player to cast a spell only if specific spell is on the stack.
Fixed that modes of modal spells resolved also if all targeted modes of a spell had no more legal targets and there were targeted modes (fixes #385). Should also fix same problem for parts of a fused spell. Added test for Cryptic Command.