Testing a rich Internet application