Multiple patterns test