test for commite