Change test port to 7778

Parameterize the test URL to allow easier future global changes.  Set it
so as to avoid conflicting with the default dev port of 7777.

Issue #262
Use 'waitForEventReady' in all event tests