Unit test for Paragraph.scala