Test the committing of changes