Fix logic problems in this paragraph:
The tsunami occoured a couple of hours before there was going to be a tsunami warning system test, that had 29 countries participating.
The tsunami occoured a couple of hours before a previously-scheduled test of a tsunami warning system test, that had 29 countries participating.