fixing so batch_edits works with new terms_for_editing

Added quick test for get_terms and fixed the batch edit code to work.