Alert test fixes

@rcrichton fixed the problem. The best is just not to match the specific message contents, because we can't guarantee a specific message order.