Previously a bug in the first test would lead to a 'not implemented' console error, which isn't the actual problem. This ensures alert() is just a simple no-op, so we can concentrate on actual errors.