testing commit of class