makes it so that tags can be added to a document using check boxes.
updating a test case for text_langs