adding mockito exception testcases