add ApplicationException test case