unit testing BagItConnector