Added tests for paragraph splitting