Commit Test in eclipse