Adds tests for bibindex cli, fixes update script