add  jmock dpendency and test case