add junit easymock feature and fix gui problem