Improved dialog test case.