Testing commiting a file