dialog test case