updating alert tests to 'wait' for alert to appear. iOS alerts appear asynchronously.