add for alertDialog test at chapter two.

Change-Id: Ieef2abb54ff20b8fd3677bbc7a604473c6c26de2