Updated and added unit tests for bibframe helper