Improved dialog test case
Dialog test case is working