testing committing of a file