Added test for adding discussions to documents