Checking whether committing works