Testing that commiting works