added a new test case for checking alert