commit object and test