Test that rs_script_call_t works properly.

This change also fixes a few subtle issues with ordering for error checks
(i.e. we should always waitForMessage() before calling checkForError()).

Bug: 7212879
Change-Id: Iee3feafe387666de88473809fd1a09521bc342d0
6 files changed