Fix Alert Dialog of DB tests