Tests multiple related conditions in sequence.