upgrade dependency on bagit library version and update integration tests