Made showAlerts global flag instead of changing tests like: Simple Alert. Using global flag every where